package com.ysd.entity;


public class News {
	private int newsid;
	private String newsTitle;
	private String newsContent;
	private String newsCategoryid;
	private String  newsZhuYe;
	public int getNewsid() {
		return newsid;
	}
	public void setNewsid(int newsid) {
		this.newsid = newsid;
	}
	public String getNewsTitle() {
		return newsTitle;
	}
	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}
	public String getNewsContent() {
		return newsContent;
	}
	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}
	public String getNewsCategoryid() {
		return newsCategoryid;
	}
	public void setNewsCategoryid(String newsCategoryid) {
		this.newsCategoryid = newsCategoryid;
	}
	public String getNewsZhuYe() {
		return newsZhuYe;
	}
	public void setNewsZhuYe(String newsZhuYe) {
		this.newsZhuYe = newsZhuYe;
	}
	public News(int newsid, String newsTitle, String newsContent, String newsCategoryid, String newsZhuYe) {
		super();
		this.newsid = newsid;
		this.newsTitle = newsTitle;
		this.newsContent = newsContent;
		this.newsCategoryid = newsCategoryid;
		this.newsZhuYe = newsZhuYe;
	}
	
	public News(int newsid, String newsTitle, String newsContent, String newsCategoryid) {
		super();
		this.newsid = newsid;
		this.newsTitle = newsTitle;
		this.newsContent = newsContent;
		this.newsCategoryid = newsCategoryid;
	}
	public News() {
		super();
	}
	@Override
	public String toString() {
		return "News [newsid=" + newsid + ", newsTitle=" + newsTitle + ", newsContent=" + newsContent
				+ ", newsCategoryid=" + newsCategoryid + ", newsZhuYe=" + newsZhuYe + "]";
	}
	
	
	
}
